var runtime.debug
92 uses
runtime (current package)
arena.go#L716: if debug.malloc {
arena.go#L717: if debug.allocfreetrace != 0 {
cgocall.go#L408: if !goexperiment.CgoCheck2 && debug.cgocheck == 0 {
cgocall.go#L650: if !goexperiment.CgoCheck2 && debug.cgocheck == 0 {
malloc.go#L974: if debug.malloc {
malloc.go#L975: if debug.sbrk != 0 {
malloc.go#L1227: if debug.malloc {
malloc.go#L1228: if debug.allocfreetrace != 0 {
mbitmap.go#L344: if (GOARCH == "amd64" || GOARCH == "arm64") && p == clobberdeadPtr && debug.invalidptr != 0 {
mbitmap.go#L363: if debug.invalidptr != 0 {
mem_linux.go#L50: if debug.madvdontneed != 0 && advise != madviseUnsupported {
mem_linux.go#L76: if debug.harddecommit > 0 {
mem_linux.go#L85: if debug.harddecommit > 0 {
mfinal.go#L389: if debug.sbrk != 0 {
mgc.go#L641: if debug.gcstoptheworld == 1 {
mgc.go#L643: } else if debug.gcstoptheworld == 2 {
mgc.go#L974: if debug.gccheckmark > 0 {
mgc.go#L1133: if debug.gctrace > 0 {
mgc.go#L1452: if debug.allocfreetrace > 0 {
mgc.go#L1467: if debug.gccheckmark > 0 {
mgc.go#L1490: if debug.gccheckmark > 0 {
mgcmark.go#L1471: if debug.gccheckmark > 0 && span.isFree(objIndex) {
mgcpacer.go#L420: if debug.gcstoptheworld > 0 {
mgcpacer.go#L456: if debug.gcpacertrace > 0 {
mgcpacer.go#L674: if debug.gcpacertrace > 0 {
mgcsweep.go#L178: if debug.gcpacertrace > 0 {
mgcsweep.go#L425: if debug.scavtrace > 0 {
mgcsweep.go#L600: if debug.allocfreetrace != 0 || debug.clobberfree != 0 || raceenabled || msanenabled || asanenabled {
mgcsweep.go#L608: if debug.allocfreetrace != 0 {
mgcsweep.go#L611: if debug.clobberfree != 0 {
mgcsweep.go#L788: if debug.efence > 0 {
mheap.go#L1665: if debug.scavtrace > 0 {
panic.go#L828: if debug.panicnil.Load() != 1 {
panic.go#L1260: if debug.schedtrace > 0 || debug.scheddetail > 0 {
preempt.go#L222: if preemptMSupported && debug.asyncpreemptoff == 0 && needAsync {
proc.go#L193: if debug.inittrace != 0 {
proc.go#L324: if debug.gctrace > 0 {
proc.go#L924: if debug.dontfreezetheworld > 0 {
proc.go#L3584: if debug.dontfreezetheworld > 0 && freezing.Load() {
proc.go#L4593: if debug.tracebackancestors <= 0 || callergp.goid == 0 {
proc.go#L4601: if n > debug.tracebackancestors {
proc.go#L4602: n = debug.tracebackancestors
proc.go#L5552: if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
proc.go#L5653: if debug.schedtrace > 0 && lasttrace+int64(debug.schedtrace)*1000000 <= now {
proc.go#L5655: schedtrace(debug.scheddetail > 0)
proc.go#L5788: if preemptMSupported && debug.asyncpreemptoff == 0 {
runtime1.go#L309: var debug struct {
runtime1.go#L342: {name: "allocfreetrace", value: &debug.allocfreetrace},
runtime1.go#L343: {name: "clobberfree", value: &debug.clobberfree},
runtime1.go#L344: {name: "cgocheck", value: &debug.cgocheck},
runtime1.go#L345: {name: "dontfreezetheworld", value: &debug.dontfreezetheworld},
runtime1.go#L346: {name: "efence", value: &debug.efence},
runtime1.go#L347: {name: "gccheckmark", value: &debug.gccheckmark},
runtime1.go#L348: {name: "gcpacertrace", value: &debug.gcpacertrace},
runtime1.go#L349: {name: "gcshrinkstackoff", value: &debug.gcshrinkstackoff},
runtime1.go#L350: {name: "gcstoptheworld", value: &debug.gcstoptheworld},
runtime1.go#L351: {name: "gctrace", value: &debug.gctrace},
runtime1.go#L352: {name: "invalidptr", value: &debug.invalidptr},
runtime1.go#L353: {name: "madvdontneed", value: &debug.madvdontneed},
runtime1.go#L354: {name: "sbrk", value: &debug.sbrk},
runtime1.go#L355: {name: "scavtrace", value: &debug.scavtrace},
runtime1.go#L356: {name: "scheddetail", value: &debug.scheddetail},
runtime1.go#L357: {name: "schedtrace", value: &debug.schedtrace},
runtime1.go#L358: {name: "tracebackancestors", value: &debug.tracebackancestors},
runtime1.go#L359: {name: "asyncpreemptoff", value: &debug.asyncpreemptoff},
runtime1.go#L360: {name: "inittrace", value: &debug.inittrace},
runtime1.go#L361: {name: "harddecommit", value: &debug.harddecommit},
runtime1.go#L362: {name: "adaptivestackstart", value: &debug.adaptivestackstart},
runtime1.go#L363: {name: "tracefpunwindoff", value: &debug.tracefpunwindoff},
runtime1.go#L364: {name: "panicnil", atomic: &debug.panicnil},
runtime1.go#L369: debug.cgocheck = 1
runtime1.go#L370: debug.invalidptr = 1
runtime1.go#L371: debug.adaptivestackstart = 1 // set this to 0 to turn larger initial goroutine stacks off
runtime1.go#L381: debug.madvdontneed = 1
runtime1.go#L408: debug.malloc = (debug.allocfreetrace | debug.inittrace | debug.sbrk) != 0
runtime1.go#L497: if debug.cgocheck > 1 {
signal_unix.go#L447: if sig == sigPreempt && preemptMSupported && debug.asyncpreemptoff == 0 {
signal_unix.go#L664: if sig == sigPreempt && debug.asyncpreemptoff == 0 && !delayedSignal {
signal_unix.go#L1296: if sig == sigPreempt && preemptMSupported && debug.asyncpreemptoff == 0 {
stack.go#L351: if debug.efence != 0 || stackFromSystem != 0 {
stack.go#L453: if debug.efence != 0 || stackFromSystem != 0 {
stack.go#L454: if debug.efence != 0 || stackFaultOnFree != 0 {
stack.go#L622: if f.valid() && 0 < p && p < minLegalPointer && debug.invalidptr != 0 {
stack.go#L1187: if debug.gcshrinkstackoff > 0 {
stack.go#L1310: if debug.adaptivestackstart == 0 {
trace.go#L1008: return debug.tracefpunwindoff != 0 || (goarch.ArchFamily != goarch.AMD64 && goarch.ArchFamily != goarch.ARM64) || goos.IsPlan9 == 1
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |